<?php
require("cfg.php");
require("function.php");
if (isset($_POST['user_name']) && $_POST['user_name']) {
	$user=$_POST['user_name'];
}
else {
	$user="test_user";
}
//echo $user;
$sql="SELECT `id`, `list_name` FROM `user_list` WHERE `user_name` = '$user' ORDER BY `id` ASC;";
$query=mysql_query($sql);
while ($row = mysql_fetch_array($query)) {
	$list_name=$row['list_name'];
	$id=$row['id'];
	echo "<label>\r\n\t<input type=\"radio\" name=\"song_list\" value=\"$id\" />$list_name\r\n</label>\r\n";
}




?>
<input name="select_song_list_cancel" type="button" value="cancel"/>